package com.xxx.mch.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020/9/22
 */
@Target ({TYPE, METHOD})
@Retention (RUNTIME)
public @interface WithRole
{
    String[] needRoles() default {};
}
